<?php $this->_Hhead()?>
<link href="/Public/Home/public/member_all_common.css" rel="stylesheet" type="text/css">
<link href="/Public/Home/public/member_user.css" rel="stylesheet" type="text/css">

<div class="container clearfix"> 
<div id="ur_here">
 <a href="http://www.xiaolajiao.com/">首页</a> <code>&gt;</code> 用户中心 
</div>
    <?php $this->_Hleft()?>

    <div class="uo-list-section left">
        <div class="row">

            <?php foreach($arr as $v){?>
            <table>

                <thead>
                <tr>
                    <th colspan="3">收藏时间： <?php echo date('Y-m-d H:i:s',$v['time'])?></th>
                </tr>
                </thead>
                <tbody>
                <tr>
                    <td class="order-list-goods">

                        <ul>
                            <li class="order-list-img">
                                <img src="<?php echo substr(strrchr($v['img'], '|'),1)?>">
                            </li>
                            <li class="order-list-title">
                                <a href="/index.php?C=Index&F=goods_msg&id=<?php echo $v['g_id']?>">
                                    <?php echo $v['name']?>
                                </a>
                                <br>
                            </li>
                        </ul>

                    </td>

                    <td>
                        <a g_id="<?php echo $v['g_id']?>" class="f6 qx">取消收藏</a>
                    </td>
                </tr>
                </tbody>
            </table>
            <?php }?>


            <div class="border-top">&nbsp;</div>



        </div>
    </div>

</div>
<script>
    var m_id="<?php echo $_SESSION['Home']['Member']['id']?>";
    $(function () {
        $('.qx').bind('click',function(){
            var g_id=$(this).attr('g_id');
            $.get("/index.php?C=Index&F=like", {g_id: g_id, type: '2', m_id:m_id}, function (abc) {
                alert(abc.msg);
                location.reload();
            }, 'json')
        })
    })
</script>
<?php $this->_Hfooter()?>